How to handle multiple tabs in selenium